package com.example.project.Controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Controller
@RequestMapping("/page")
public class PageController {
    @RequestMapping("/toregister")
    public String toRegister()
    {
        return "register";
    }
    @RequestMapping("/tologin")
    public String toLogion()
    {
        return "index";
    }

}
